package com.ruoyi.project.business.machine.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

/**
 * 售货机对象 yl_machine
 * 
 * @author ruoyi
 * @date 2021-04-26
 */
public class YlMachine extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 机器id */
    @Excel(name = "机器id")
    private String machineId;

    /** 机器名称 */
    @Excel(name = "机器名称")
    private String machineName;

    /** 地址 */
    @Excel(name = "地址")
    private String machineAddress;

    /** 状态,1-启用,0-停用 */
    @Excel(name = "状态,1-启用,0-停用")
    private Long status;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setMachineId(String machineId)
    {
        this.machineId = machineId;
    }

    public String getMachineId()
    {
        return machineId;
    }
    public void setMachineName(String machineName)
    {
        this.machineName = machineName;
    }

    public String getMachineName()
    {
        return machineName;
    }
    public void setMachineAddress(String machineAddress)
    {
        this.machineAddress = machineAddress;
    }

    public String getMachineAddress()
    {
        return machineAddress;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setDelFlag(String delFlag)
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag()
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("machineId", getMachineId())
            .append("machineName", getMachineName())
            .append("machineAddress", getMachineAddress())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
